home *** CD-ROM | disk | FTP | other *** search
/ The Fatted Calf / The Fatted Calf.iso / Applications / Audio-DSP / NU / Source / Nutation.h < prev    next >
Encoding:
C/C++ Source or Header  |  1993-01-17  |  1.1 KB  |  59 lines

  1. /**
  2.  ** "public"
  3.  ** services accessed through
  4.  ** the global var Nu
  5.  **/
  6.  
  7. #import <appkit/graphics.h>
  8. extern id Nu ;
  9.  
  10. #ifndef INMENUMANAGER
  11. #import <objc/Object.h>
  12.  
  13. // Interface for NuString class 
  14. @interface NuString: Object
  15. { char *string ;
  16.   unsigned capacity ;
  17. }
  18. + new: (char *) aString ;
  19. - catStream: (NXStream *) aStream ;
  20. - catString: (char *) aString ;
  21. - (const char *) cString ;
  22. - free ;
  23. - initFromStream: (NXStream *) aStream ;
  24. - initFromString: (char *) aString ;
  25. @end
  26.  
  27. @interface Nutation: Object
  28. {
  29. }
  30. #endif
  31.  
  32. - loadIfNeeded: (char *) aClass ;
  33. - highLightTarget: (BOOL) YESorNO ;
  34. // glyph access
  35. - rootGlyph ;
  36. - targetGlyph ;
  37. - terminator ;
  38. - glyphView ;
  39. - glyphWindow ;
  40. - newGlyphWindow:sender ;
  41. - printf: (char *) format, ... ;
  42. // postscript methods
  43. - ps: (char *) format, ... ;
  44. - showString: (char *) aString font: (char *) aFont
  45.       width: (float)width height: (float) height
  46.       x: (float) x y: (float) y ;
  47.  
  48. // music kit parameters
  49.  
  50. - (double) samplingRate ;
  51. - (double) beatsPerMinute ;
  52. - (double) tickPeriod ;
  53.  
  54. // bitmap management
  55. - bitMapForClass: (char *) aClass size: (NXSize *) aSize ;
  56.  
  57. #ifndef INMENUMANAGER
  58. @end
  59. #endif